<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>天翊博客登录界面</title>
<link href="./css/nodejs.css" rel="stylesheet">
<link href="./css/login.css" rel="stylesheet">
</head>
<body>
	<jsp:include page="head.jsp"></jsp:include>
	<div class="main">
		<div class="main-left">
			<div class="login-title">
				<span class="text1"> <a href="./nodejs.html">主页</a>
				</span> <span class="text2">/</span> <span class="text3">登录</span>
			</div>
			<div class="login-table">
			${msg}
				<form action="/login" method="post">
					爱好：<br>
					吃饭：<input type="checkbox" name="Hobbies" value="吃饭" />
					玩：<input type="checkbox" name="Hobbies" value="玩" />
					睡：<input type="checkbox" name="Hobbies" value="睡" />
					打豆豆：<input type="checkbox" name="Hobbies" value="打豆豆" />
					
					<div class="login-username">
						<label>用户名</label> <input name="name" id="username" type="text" class="input">
					</div>
					<div class="login-password">
						<label>密码</label> <input name="name" id="password" type="password" class="input">
					</div>
					<div class="login-buttons">
						<input type="submit" value="登录" />
						<a class="button" href="#">登录</a> <a class="button button-light"
							href="#">点击马上注册</a> <a class="wangjimima" href="#"><span>忘记密码了？</span></a>
					</div>
				</form>
			</div>
		</div>
		<div class="main-right">
			<div class="main-right-title">关于</div>
			<div class="main-right-text">
				<span>CNode：Node.js专业中文社区</span> <span>在这里你可以：</span>
				<li>向别人提出你遇到的问题</li>
				<li>帮助遇到问题的人</li>
				<li>分享自己的知识</li>
				<li>和其它人一起进步</li>
			</div>
		</div>
	</div>
	<jsp:include page="footer.jsp"></jsp:include>
	<script>
		var username = document.getElementById("username");
		console.log(username);
		var y=document.getElementsByTagName("a");
		console.log(y)
	</script>
</body>
</html>